package com.itheima.test7;

/**
 * @Author:gy
 * @Date: 2025/09/01 11:39
 * @Description:
 */
public class Demo {
    public static void main(String[] args) {
        MyThread1 m1 = new MyThread1();//小美
        MyThread1 m2 = new MyThread1();//小帅
        m2.setDaemon(true);
        m1.setName("小美");
        m1.setPriority(10);
        m2.setName("小帅");
        m2.setPriority(1);
        m1.start();
        m2.start();
    }
}
